package com.swxy.club.dto.Vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.swxy.club.enums.ClubStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "用户管理的社团信息VO")
public class ManagedClubVO {

    @ApiModelProperty(value = "社团ID")
    private Long clubId;

    @ApiModelProperty(value = "社团名称")
    private String clubName;

    @ApiModelProperty(value = "社团描述")
    private String description;

    @ApiModelProperty(value = "成员数量")
    private Integer memberCount;

    @ApiModelProperty(value = "社团状态")
    private ClubStatus status;

    @ApiModelProperty(value = "用户在社团中的角色")
    private String role;

    @ApiModelProperty(value = "担任该职位时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime roleAssignTime;
}
